<style>
	.text{
		text-align: right;
	}
</style>

<div class="zs-side">
	<div class="zs-menu ckxl">
		<div class="item selected">
			<div class="header">收发文管理</div>
			<ul class="list">
				<li>
					<a href="javascript:;" ng-class="{'selected':tabs['gzpublishfile'].tabClass['tab1']}" ng-click="gotoById('tab1') && setBpmTab('gzpublishfile','tab1')">公文签批申请</a>
				</li>

				<li ng-show="gzpublishfile.editRow.bpmkey=='sfwgl_kszysj'">
					<a href="javascript:;" ng-class="{'selected':tabs['gzpublishfile'].tabClass['tab5']}" ng-click="gotoById('tab5') && setBpmTab('gzpublishfile','tab5')">科长签批</a>
				</li>
				
				<li ng-show="gzpublishfile.editRow.bpmkey=='sfwgl'">
					<a href="javascript:;" ng-class="{'selected':tabs['gzpublishfile'].tabClass['tab2']}" ng-click="gotoById('tab2') && setBpmTab('gzpublishfile','tab2')">办公室签批</a>
				</li>

				<li ng-show="gzpublishfile.editRow.bpmkey=='sfwgl' || gzpublishfile.editRow.bpmkey=='sfwgl_zrjbgb'">
					<a href="javascript:;" ng-class="{'selected':tabs['gzpublishfile'].tabClass['tab3']}" ng-click="gotoById('tab3') && setBpmTab('gzpublishfile','tab3')">局领导签批</a>
				</li>

				<li ng-show="gzpublishfile.editRow.bpmkey=='sfwgl' || gzpublishfile.editRow.bpmkey=='sfwgl_zrjbgb' || gzpublishfile.editRow.bpmkey=='sfwgl_kszysj'">
					<a href="javascript:;" ng-class="{'selected':tabs['gzpublishfile'].tabClass['tab4']}" ng-click="gotoById('tab4') && setBpmTab('gzpublishfile','tab4')">收文员转发</a>
				</li>
			</ul>
		</div>
	</div>
</div>
<div class="zs-main">
	<!--   报件录入-s -->
	<div class="zs-content">
		<h4 class="content-tilte" id="tab1">公文签批申请</h4>
		<div class="container">
			<div id="content-djs">
				<div class="zs-letter-table">
					<div><input type="button" class="zs-btn orange"
						 value="打印" 
						 ng-click="printFile('gzpublishfile','HtmlToPdf',gzpublishfile.editRow)" />
						
					</div>
					<table width="100%">
						<tbody>
							
							<tr>
								<td class="text" >来文单位</td>
								<td class="left"  colspan="3">
									<textarea type="text" style="width:95%;height:100px" ng-model="gzpublishfile.editRow.lwdw" class="zs-input"
									 ng-show="gzpublishfile.proauth.fwsq"></textarea>

									<textarea type="text" style="width:95%;height:100px" ng-model="gzpublishfile.editRow.lwdw" readonly="true"
									 class="zs-input" ng-show="!gzpublishfile.proauth.fwsq"></textarea>
									 
									<!-- <span ng-show="false"><input hide-novalidate="gzpublishfile.proauth.fwsq" 
                                		alias="来文单位" required 
                                		ng-model="gzpublishfile.editRow.fwzt"
                                		name="formFWZT"/></span>-->
								</td>
							</tr>
							
							<tr>
								<td class="text" width="20%">来文号</td>
								<td class="left" width="30%" >
									<span ng-if="gzpublishfile.proauth.fwsq"><input type="text" ng-model="gzpublishfile.editRow.lwbh"
										style="width: 220px;"
										class="zs-input" /></span>
									<span ng-if="!gzpublishfile.proauth.fwsq"><label ng-bind="gzpublishfile.editRow.lwbh"></label></span>
								</td>
								
								<td class="text" width="20%">收文时间</td>
								<td class="left" width="30%" >
									<span ng-if="gzpublishfile.proauth.fwsq">
										<ag-Datebox id='fi_dlfsj'  class="zs-input" 
										 ng-model="gzpublishfile.editRow.swsj">
										</ag-Datebox>
									</span>
									<span ng-if="!gzpublishfile.proauth.fwsq">
										<label ng-bind="gzpublishfile.editRow.swsj  | asDate | date:'yyyy-MM-dd'"></label>
									</span>
								</td>
							</tr>

							<tr>
								<td class="text" width="20%"><font color="red">*</font>发文主题</td>
								<td class="left" width="30%" colspan="3">
									<textarea type="text" style="width:95%;height:100px" ng-model="gzpublishfile.editRow.fwzt" class="zs-input"
									 ng-show="gzpublishfile.proauth.fwsq"></textarea>

									<textarea type="text" style="width:95%;height:100px" ng-model="gzpublishfile.editRow.fwzt" readonly="true"
									 class="zs-input" ng-show="!gzpublishfile.proauth.fwsq"></textarea>
									 
									 <span ng-show="false"><input hide-novalidate="gzpublishfile.proauth.fwsq" 
                                		alias="发文主题" required 
                                		ng-model="gzpublishfile.editRow.fwzt"
                                		name="formFWZT"/></span>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%"><font color="red">*</font>来文摘要</td>
								<td class="left" width="30%" colspan="3">
									<textarea type="text" style="width:95%;height:100px" ng-show="gzpublishfile.proauth.fwsq" ng-model="gzpublishfile.editRow.fwsm"
									 class="zs-input" />

									<textarea type="text" style="width:95%;height:100px" 
                                		ng-model="gzpublishfile.editRow.fwsm" readonly="true"
                                		class="zs-input" ng-show="!gzpublishfile.proauth.fwsq"></textarea>
                                		
                                		 <span ng-show="false"><input hide-novalidate="gzpublishfile.proauth.fwsq" 
                                		alias="来文摘要" required 
                                		ng-model="gzpublishfile.editRow.fwsm"
                                		name="formFWSM"/></span>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%"><font color="red">*</font>拟办意见</td>
								<td class="left" width="30%" colspan="3">
									<textarea type="text" style="width:95%;height:100px" ng-show="gzpublishfile.proauth.fwsq" ng-model="gzpublishfile.editRow.nbyj"
									 class="zs-input" />
								
									<textarea type="text" style="width:95%;height:100px" 
										ng-model="gzpublishfile.editRow.nbyj" readonly="true"
										class="zs-input" ng-show="!gzpublishfile.proauth.fwsq"></textarea>
										
										 <span ng-show="false"><input hide-novalidate="gzpublishfile.proauth.fwsq" 
										alias="拟办意见" required 
										ng-model="gzpublishfile.editRow.nbyj"
										name="formNBYJ"/></span>
								</td>
							</tr>
							
							<tr>
								<td class="text" width="20%"><font color="red">*</font>紧急等级</td>
								<td class="left" width="30%">
									<span ng-show="gzpublishfile.proauth.fwsq"> 
									<ag-Combobox style="width:226px;height:28px;"
										on-Select="onchangeJjdj"
                                        para="{	uDictionary:true,
                                        		editable:true,
                                        		dictionary:'p_jjdj'}"
                                        ng-model="gzpublishfile.editRow.jjdj"
                                        text-Value="gzpublishfile.editRow.jjdjName"/>
                                    </span>
                                    
                                    <span ng-show="!gzpublishfile.proauth.fwsq"> 
                                    	<label ng-bind="gzpublishfile.editRow.jjdjName"></label>
                                    </span>
                                    
                                    		 <span ng-show="false"><input hide-novalidate="gzpublishfile.proauth.fwsq" 
                                		alias="紧急等级" required 
                                		ng-model="gzpublishfile.editRow.jjdj"
                                		name="formJJDJ"/></span>
								</td>
								
								<td class="text" width="20%">负责人</td>
								<td class="left" width="30%">
									<span ng-show="gzpublishfile.proauth.fzrbj">
										<ag-Combotree class="zs-input" style="width:175px;height: 28px" fn='depEdit' para="{ uDictionary:true,
													dictionary:'p_department',
													pidField:'pid',
													nfn:'schedulefzr',
													leafField:'leaf'}"
											ng-model="gzpublishfile.editRow.fzrbmmc" text-Value="gzpublishfile.editRow.fzrbmmcName" />
									</span>
									<span ng-show="gzpublishfile.proauth.fzrbj">
									<ag-Combotree class="zs-input" style="width:150px;height: 28px" fn='schedulefzr' para="{ uDictionary:false,
												pidField:'userid',
												checkbox:false,
												valueField:'userid',
												textField:'userName',
												onlyLeafCheck:true,
												bindFn:'schedule',
												pfn:'depEdit',
												foreignField:'departmentId',
												editable:true,
												keyField:'userid',
												queryFields:'userid,userName,departmentId',
												pageSize:1200,
												maxNavs:6,
												queryObject:{},
												ssn:'vuserinfo'}"
									 ng-model="gzpublishfile.editRow.zyfzrid" ng-change="onchangeSwFzr();" text-Value="gzpublishfile.editRow.zyfzrname">
									</ag-Combotree>
									</span>
									
									<span ng-show="!gzpublishfile.proauth.fzrbj">
										(<label ng-bind="gzpublishfile.editRow.fzrbmmcName"></label>)
										<label ng-bind="gzpublishfile.editRow.zyfzrname"></label>
									</span>
									<!--<input type="text" ng-model="schedule.editRow.fzr" class="zs-input" style="width:175px;"/>-->
								</td>
								
							</tr>
							
							<tr>
								<td class="text" width="20%"><font color="red">*</font>创建人名称</td>
								<td class="left" width="30%">
									<!--<input type="text" ng-model="gzpublishfile.editRow.cjrmc" 
                                		class="zs-input" style="width:75%;"/>-->

									<ag-User ng-model="gzpublishfile.editRow.cjrid" text-Value="gzpublishfile.editRow.cjrmc" id="cjrid" canuse="{{gzpublishfile.proauth.fwsq}}"></ag-User>
								</td>
								<td class="text" width="20%"><font color="red">*</font>创建时间</td>
								<td class="left" width="30%">
									<ag-Time ng-model="gzpublishfile.editRow.cjsj" id="cjsj1" showhour="true" canuse="{{gzpublishfile.proauth.fwsq}}"></ag-Time>
								</td>
							</tr>
							<tr>
								<td class="text" width="20%"><font color="red">*</font>部门名称</td>
								<td class="left" width="30%">
									<ag-Dep ng-model="gzpublishfile.editRow.bmmc" text-Value="gzpublishfile.editRow.bmmcName" id="bmmc" canuse="{{gzpublishfile.proauth.fwsq}}"></ag-Dep>
								</td>

								<td class="text" width="20%"><font color="red">*</font>附件</td>
								<td class="left" width="30%">
									<span><ag-Upload ng-model="gzpublishfile.editRow.fj" para="{}"></ag-Upload></span>
									
									 <span ng-show="false"><input hide-novalidate="gzpublishfile.proauth.fwsq" 
                                		alias="附件" required 
                                		ng-model="gzpublishfile.editRow.fj"
                                		name="formFJ"/></span>
								</td>
							</tr>
							
							<tr>
								<td class="text" width="20%">处理情况</td>
								<td class="left" width="30%" colspan="3">
									<span ng-show="gzpublishfile.editRow.zyfzrid==curUser.userid"> 
									<ag-Combobox style="width:226px;height:28px;"
                                        para="{	uDictionary:true,
                                        		editable:true,
                                        		dictionary:'GZ_GWCLQK'}"
                                        ng-model="gzpublishfile.editRow.blqk"
                                        text-Value="gzpublishfile.editRow.blqkName"/>
                                    </span>
                                    
                                    <span ng-show="gzpublishfile.editRow.zyfzrid!=curUser.userid"> 
                                    	<label ng-bind="gzpublishfile.editRow.blqkName"></label>
                                    </span>
								</td>
							</tr>
							
						</tbody>
					</table>
					<table width="100%" ng-show="gzpublishfile.editRow.bpmkey=='sfwgl_jzgb'">
						<tr>
							<td class="text" width="20%">办理结果</td>
							<td class="left" width="80%">
								<textarea type="text" style="width:95%;height:100px" ng-show="gzpublishfile.proauth.fwsq"
									 ng-model="gzpublishfile.editRow.bljg"
								 class="zs-input" />

								<textarea type="text" style="width:95%;height:100px" 
                            		ng-model="gzpublishfile.editRow.bljg" readonly="true"
                            		class="zs-input" ng-show="!gzpublishfile.proauth.fwsq"></textarea>
							</td>
						</tr>
					</table>
					<table width="100%" ng-show="gzpublishfile.process.U9!=null && gzpublishfile.editRow.bpmkey=='sfwgl_jzgb'">
						<tr>
							<td width="20%" class="text" rowspan="2">传阅意见</td>
							<td ng-repeat="r in gzpublishfile.editRow.gzreceivefile" 
								ng-show="(r.jsrzw=='管理员' || r.jsrzw=='科研科科长' || r.jsrzw=='办公室主任' || r.jsrzw=='资源科科长' || r.jsrzw=='计财科科长' 
								|| r.jsrzw=='社会发展科科长' || r.jsrzw=='管护站长' || r.jsrzw=='办公室副主任' || r.jsrzw=='局领导') && gzpublishfile.editRow.zyfzrid!=r.jsrid">
								
								<textarea type="text" style="width:95%;height:100px" ng-show="$rootScope.curUser.userid==r.jsrid || mi.sa"
									 ng-model="r.jsryj"
								 class="zs-input" />
								
								<textarea type="text" style="width:95%;height:100px" 
									ng-model="r.jsryj" readonly="true"
									class="zs-input" ng-show="$rootScope.curUser.userid!=r.jsrid && !mi.sa"></textarea>
							</td>
						</tr>
						<tr>
							<td ng-repeat="r in gzpublishfile.editRow.gzreceivefile" 
								ng-show="(r.jsrzw=='管理员' || r.jsrzw=='科研科科长' || r.jsrzw=='办公室主任' || r.jsrzw=='资源科科长' || r.jsrzw=='计财科科长' 
								|| r.jsrzw=='社会发展科科长' || r.jsrzw=='管护站长' || r.jsrzw=='办公室副主任' || r.jsrzw=='局领导') && gzpublishfile.editRow.zyfzrid!=r.jsrid">
								<label ng-bind="r.jsrmc"></label>
								(<label ng-bind="r.jsrzw"></label>)
							</td>
						</tr>
					</table>
					<table width="100%" ng-show="gzpublishfile.editRow.bpmkey=='sfwgl_jzgb'">
						<tr>

							<td colspan="4" class="left">
								<span>收件人</span><span style="float: right;">
									<input type="button" class="zs-btn" ng-click="openWindow('chooseUser')" ng-show="gzpublishfile.proauth.fwsq"
									 value="添加" />
									<input type="button" class="zs-btn" ng-show="gzpublishfile.proauth.fwsq" ng-click="delLocalRows(gzpublishfile.editRow.gzreceivefile)"
									 value="删除"></span>
							</td>
						</tr>
						<tr>
							<td style="text-align: center" class="text" width="5%" 	ng-show="gzpublishfile.proauth.fwsq" >
								<input id="allCheckbox15" type="checkbox" 
									ng-show="gzpublishfile.proauth.fwsq" 
									
									ng-click="selectRows(gzpublishfile.editRow.gzreceivefile,'allCheckbox15');" /></td>
							<td width="30%" class="text" style="text-align: center">收件人名称</td>
							<td width="30%" class="text" style="text-align: center">部门</td>
							<td width="20%" class="text" style="text-align: center">是否已读</td>
						</tr>
						<tr ng-repeat="r in gzpublishfile.editRow.gzreceivefile">
							<td class="center" 	ng-show="gzpublishfile.proauth.fwsq" >
								<input type="checkbox" ng-show="gzpublishfile.proauth.fwsq" ng-click="selectRow('gzpublishfile.editRow.gzreceivefile',r);"
								 ng-model="r.selected" /></td>
							<td>
									<!--<input type="text" style="width: 95%"
										class="zs-input" ng-model="r.jsrmc" /></td>-->

									<label ng-bind="r.jsrmc"></label>
							<td>
									<!--<input type="text" style="width: 95%"
										class="zs-input" ng-model="r.jsrjg" />-->

									<label ng-bind="r.jsrjgmc"></label>
							</td>
							
							<td>
									<!--<input type="text" style="width: 95%"
										class="zs-input" ng-model="r.jsrjg" />-->

									 <label ng-bind="r.sfqr | asChBool"></label>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</div>
		
		<h4 class="content-tilte" id="tab2" ng-show="gzpublishfile.editRow.bpmkey=='sfwgl'">办公室签批</h4>
		<div class="container" ng-show="gzpublishfile.editRow.bpmkey=='sfwgl'">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<tr>
								<td class="key" width="25%">
									<span class="mark">办公室签批</span>
								</td>
								<td width="75%">

									<span ng-repeat="h in gzpublishfile.process.usertask2.history">
										<br ng-if="$index>0" />
										<label ng-bind="h.optcontent"></label><br />
										签批人:<label ng-bind="h.optassigneesname"></label>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
										<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
									</span>

									<br ng-if="gzpublishfile.process.usertask2.userEdit" ng-show="gzpublishfile.proauth.bgssp" />
									<textarea type="text" style="width:100%;height: 160px;" ng-if="gzpublishfile.process.usertask2.userEdit"
									 ng-show="gzpublishfile.proauth.bgssp" ng-model="gzpublishfile.process.usertask2.editRow.optcontent"></textarea>

								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
				
		<h4 class="content-tilte" id="tab5" ng-show="gzpublishfile.editRow.bpmkey=='sfwgl_kszysj'">科长签批</h4>
		<div class="container" ng-show="gzpublishfile.editRow.bpmkey=='sfwgl_kszysj'" >
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<tr>
								<td class="key" width="25%">
									<span class="mark">科长签批</span>
								</td>
								<td width="75%">

									<span ng-repeat="h in gzpublishfile.process.usertask2.history">
										<br ng-if="$index>0" />
										<label ng-bind="h.optcontent"></label><br />
										签批人:<label ng-bind="h.optassigneesname"></label>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
										<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
									</span>

									<br ng-if="gzpublishfile.process.usertask2.userEdit" ng-show="gzpublishfile.proauth.kzsp" />
									<textarea type="text" style="width:100%;height: 160px;" ng-if="gzpublishfile.process.usertask2.userEdit"
									 ng-show="gzpublishfile.proauth.kzsp" ng-model="gzpublishfile.process.usertask2.editRow.optcontent"></textarea>

								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
		
		<h4 class="content-tilte" id="tab3"
			 ng-show="gzpublishfile.editRow.bpmkey=='sfwgl' || gzpublishfile.editRow.bpmkey=='sfwgl_zrjbgb'">局领导签批</h4>
		<div class="container" ng-show="gzpublishfile.editRow.bpmkey=='sfwgl' || gzpublishfile.editRow.bpmkey=='sfwgl_zrjbgb'">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%">
						<tbody>
							<tr>
								<td class="key" width="25%" colspan="2">
									<span class="mark">局领导签批</span>
								</td>
								<td width="75%" colspan="3">

									<span ng-repeat="h in gzpublishfile.process.usertask3.history">
										<br ng-if="$index>0" />
										<label ng-bind="h.optcontent"></label><br />
										签批人:<label ng-bind="h.optassigneesname"></label>
										&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;时间:
										<label ng-bind="h.opttime | asDate | date:'yyyy-MM-dd HH时'"></label>
									</span>

									<br ng-if="gzpublishfile.process.usertask3.userEdit" ng-show="gzpublishfile.proauth.jldsp" />
									<div class="right">
										<input type="button" class="zs-btn orange"
											 value="同意" ng-show="gzpublishfile.proauth.jldsp"
											 ng-click="getYj('同意')" />
										<input type="button" class="zs-btn orange"
											 value="同拟" ng-show="gzpublishfile.proauth.jldsp"
											 ng-click="getYj('同拟')" />
									</div>
									<textarea rows="2" cols="8" type="text" style="width:100%;height: 200px;" ng-if="gzpublishfile.process.usertask3.userEdit"
									 ng-show="gzpublishfile.proauth.jldsp" ng-model="gzpublishfile.process.usertask3.editRow.optcontent"></textarea>

								</td>
							</tr>
						</tbody>
					</table>
				</div>
			</div>
		</div>
				
		<h4 class="content-tilte" id="tab4" ng-show="gzpublishfile.editRow.bpmkey=='sfwgl' || gzpublishfile.editRow.bpmkey=='sfwgl_zrjbgb' || gzpublishfile.editRow.bpmkey=='sfwgl_kszysj'">收文员转发</h4>
		<div class="container" ng-show="gzpublishfile.editRow.bpmkey=='sfwgl' || gzpublishfile.editRow.bpmkey=='sfwgl_zrjbgb' || gzpublishfile.editRow.bpmkey=='sfwgl_kszysj'">
			<div id="content-djs">
				<div class="zs-letter-table">
					<table width="100%" style="border-bottom: 0px;">
						<tr>
							<td class="text" width="20%">办理结果</td>
							<td class="left" width="80%" >
								<textarea type="text" style="width:95%;height:100px" ng-show="gzpublishfile.proauth.swyzf"
									 ng-model="gzpublishfile.editRow.bljg"
								 class="zs-input" />

								<textarea type="text" style="width:95%;height:100px" 
                            		ng-model="gzpublishfile.editRow.bljg" readonly="true"
                            		class="zs-input" ng-show="!gzpublishfile.proauth.swyzf"></textarea>
							</td>
						</tr>
					</table>
					<table width="100%" ng-show="gzpublishfile.process.U9!=null && gzpublishfile.editRow.bpmkey!='sfwgl_jzgb'">
						<tr>
							<td width="20%" class="text" rowspan="2">传阅意见</td>
							<td ng-repeat="r in gzpublishfile.editRow.gzreceivefile" 
								ng-show="(r.jsrzw=='管理员' || r.jsrzw=='科研科科长' || r.jsrzw=='办公室主任' || r.jsrzw=='资源科科长' || r.jsrzw=='计财科科长' 
								|| r.jsrzw=='社会发展科科长' || r.jsrzw=='管护站长' || r.jsrzw=='办公室副主任' || r.jsrzw=='局领导') && gzpublishfile.editRow.zyfzrid!=r.jsrid">
								
								<textarea type="text" style="width:95%;height:100px" ng-show="$rootScope.curUser.userid==r.jsrid || mi.sa"
									 ng-model="r.jsryj"
								 class="zs-input" />
								
								<textarea type="text" style="width:95%;height:100px" 
									ng-model="r.jsryj" readonly="true"
									class="zs-input" ng-show="$rootScope.curUser.userid!=r.jsrid && !mi.sa"></textarea>
							</td>
						</tr>
						<tr>
							<td ng-repeat="r in gzpublishfile.editRow.gzreceivefile" 
								ng-show="(r.jsrzw=='管理员' || r.jsrzw=='科研科科长' || r.jsrzw=='办公室主任' || r.jsrzw=='资源科科长' || r.jsrzw=='计财科科长' 
								|| r.jsrzw=='社会发展科科长' || r.jsrzw=='管护站长' || r.jsrzw=='办公室副主任' || r.jsrzw=='局领导') && gzpublishfile.editRow.zyfzrid!=r.jsrid">
								<label ng-bind="r.jsrmc"></label>
								(<label ng-bind="r.jsrzw"></label>)
							</td>
						</tr>
					</table>
					<table width="100%">
						<tr>
							<td colspan="4" class="left">
								<span>收件人</span><span style="float: right;">
									<input type="button" class="zs-btn" ng-click="openWindow('chooseUser')" 
										ng-show="gzpublishfile.proauth.swyzf"
									 value="添加" /> 
									 <input type="button" class="zs-btn" ng-show="gzpublishfile.proauth.swyzf" ng-click="delLocalRows(gzpublishfile.editRow.gzreceivefile)"
									 value="删除"></span>
							</td>
						</tr>
						<tr>
							<td style="text-align: center" class="text" width="5%" 	ng-show="gzpublishfile.proauth.swyzf" >
								<input id="allCheckbox12" type="checkbox" ng-show="gzpublishfile.proauth.swyzf"
									 ng-click="selectRows(gzpublishfile.editRow.gzreceivefile,'allCheckbox12');"/></td>
							<td width="20%" class="text" style="text-align: center">收件人名称</td>
							<td width="20%" class="text" style="text-align: center">部门</td>
							<td width="20%" class="text" style="text-align: center">是否已读</td>
						</tr>
						<tr ng-repeat="r in gzpublishfile.editRow.gzreceivefile">
							<td class="center" 	ng-show="gzpublishfile.proauth.swyzf" >
								<input type="checkbox" ng-show="gzpublishfile.proauth.swyzf" ng-click="selectRow('gzpublishfile.editRow.gzreceivefile',r);"
								 ng-model="r.selected" /></td>
							<td>
									<!--<input type="text" style="width: 95%"
										class="zs-input" ng-model="r.jsrmc" /></td>-->

									<label ng-bind="r.jsrmc"></label>
							<td>
									<!--<input type="text" style="width: 95%"
										class="zs-input" ng-model="r.jsrjg" />-->

									<label ng-bind="r.jsrjgmc"></label>
							</td>
							
							<td>
									<!--<input type="text" style="width: 95%"
										class="zs-input" ng-model="r.jsrjg" />-->

									 <label ng-bind="r.sfqr | asChBool"></label>
							</td>
						</tr>
					</table>
				</div>
			</div>
		</div>
	</div>
</div>

<div ag-Window id="chooseUser" title="选择收件人" width='660px' height='460px'>
	<div class="zs-form-tab ibox" data-ng-init="formInit('userinfo', {
					ssn:'vuserinfo',
					esn:'userinfo',
					keyField:'userid',
					pageSize:8,
					randomFields:['userid'],
					orderObject:{userid:0} 
				}) && loadData('userinfo');setConHei();">
		<div class="zs-nice-tab idTabs">
			<div class="tool item" style="margin-left:6px;">
				<span class="search-warpper">
					<i class="icon"></i>
					<input type="text" placeholder="姓名" class="zs-input" ng-model="userinfo.queryObject['userName:like']" />
				</span>
				<span class="search-warpper">
					<i class="icon"></i>
					<ag-Combobox class="zs-input" style="width:175px;height: 28px" fn='dptidEdit' 
						para="{ uDictionary:true,
								dictionary:'p_department',
								pidField:'pid',
								leafField:'leaf'}"
						ng-change="loadData('userinfo');" 
						ng-model="userinfo.queryObject['departmentId:=']" />
				</span>
			</div>
			<div class="operation item" style="margin-top:5px;margin-left:0px;">
				<input type="button" class="zs-btn orange" value="查询" ng-click="loadData('userinfo')" />
				<!--<a class="ope-1" ng-click="loadData('userinfo')"></a>
		                <a class="ope-2"></a>-->
			</div>
		</div>
		<div class="date-container">
			<div id="zpgwd">
				<div class="zs-data-table">
					<div class="container">
						<table>
							<thead>
								<tr>
									<th>
										<input id="allCheckbox" type="checkbox" ng-click="selectOrCancelAll('userinfo','allCheckbox');" />
									</th>
									<th>姓名/帐号</th>
									<th>所属机构</th>
									<th>所属角色</th>
								</tr>
							</thead>
							<tbody>
								<tr ng-repeat="r in userinfo.datas">
									<td>
										<input type="checkbox" ng-click="selectRow('userinfo',r);" ng-model="r.selected" />
									</td>
									<td>
										<a>
											<label ng-bind="r.userName"></label>
											<label ng-if="r.accounts">/</label>
											<label ng-bind="r.accounts"></label>
										</a>
									</td>
									<td>
										<a>
											<label ng-bind="r.organizationName"></label>
											<label ng-bind="r.departmentName"></label>
											<label ng-bind="r.operatingPostName"></label>
										</a>
									</td>
									<td>
										<a>
											<label ng-bind="r.roleNames"></label>
										</a>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>
				<div class="zs-pagination-box">
					<ag-Page fn='userinfo'></ag-Page>
				</div>
				<div style="text-align: center;">
					<input type="button" class="zs-btn orange" value="选择 " ng-click="chooseSJR('gzpublishfile','gzreceivefile','userinfo','chooseUser')" />
				</div>
			</div>
		</div>
	</div>
</div>